﻿<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeBehind="Default.aspx.cs" Inherits="OAuthClient._Default" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <h2>Log in</h2>
  <p>
  If you already have an account with one of these sites, click the logo to log in with it here.
  </p>
  <div id="oauth_options">
    <div id="oauth_btns">
      <a href="<%= ResolveUrl("~/oAuth/default.aspx/requestToken/google/") %>"><img src="<%= ResolveUrl("~/content/googleOAuth.png") %>" alt="" title="Log in using your Google Account" /></a>
      <a href="<%= ResolveUrl("~/oAuth/default.aspx/requestToken/twitter/") %>"><img src="<%= ResolveUrl("~/content/twitterOAuth.png") %>" alt="" title="Log in using your Twitter Account" /></a>
      <a href="<%= ResolveUrl("~/oAuth/default.aspx/requestToken/yahoo/") %>"><img src="<%= ResolveUrl("~/content/yahooOAuth.png") %>" alt="" title="Log in using your Yahoo! Account" /></a>
      <a href="<%= ResolveUrl("~/oAuth/default.aspx/requestToken/vimeo/") %>"><img src="<%= ResolveUrl("~/content/vimeoOAuth.png") %>" alt="" title="Log in using your Vimeo Account" /></a>
    </div>    
  </div>
  <asp:Panel ID="AuthenticatedPanel" runat="server" Visible="false">
  <h3>Congratulation, you've been Authenticated using your</h3>
  <h2><span style="font-style:italic; text-decoration: underline; color:Gray;"><%# Provider %></span> Account.</h2>
  </asp:Panel>
</asp:Content>
